package com.zprmb.udzt;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.zprmb.udzt.ll.BaseHelper;

public class Customer_service extends BaseActivity implements OnClickListener{
	private TextView tv_customer;
	private TextView tv_phone;
	private RelativeLayout rl_back;
	private ImageView img_back;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.customer_service);
		initView();
	}
	private void initView() {
		// TODO Auto-generated method stub
		tv_customer=(TextView)findViewById(R.id.enterprise_tel);
		tv_phone=(TextView)findViewById(R.id.tv_phone);
		rl_back=(RelativeLayout)findViewById(R.id.rl_back);
		img_back=(ImageView)findViewById(R.id.img_back);
		img_back.setOnClickListener(this);
		rl_back.setOnClickListener(this);
		tv_phone.setOnClickListener(this);
		tv_customer.setOnClickListener(this);
	}
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch(v.getId()){
		case R.id.enterprise_tel:
			BaseHelper.showDialog2(this, "拨号", "400-0101-016", 1);
			break;
		case R.id.tv_phone:
			BaseHelper.showDialog2(this, "拨号", "400-0101-016", 1);
			break;
		case R.id.rl_back:
			finish();
			break;
		case R.id.img_back:
			finish();
			break;
		}
		
	}

}
